#include <iostream>
#define PI 3.14159
using namespace std;

int main()
{
    double S,a,r;
    scanf("%lf",&r);
    S=2*r*PI;
    printf("%.2lf",S);
    return 0;
}
